import {User} from "../entity/user";

export class UserService {

    /**
     *  获得所有 User 数据
     * @returns User[]
     */
    getAll():User[] {
        let userList = [
            {"name":"jack", "age":25, "married":false},
            {"name":"tom", "age":26, "married":true},
            {"name":"mike", "age":27, "married":false}
        ]
        return userList;
    }

}
